package com.huawang.mdesign.model.service.request;


import com.huawang.business.constants.ParamErrorConstants;
import com.huawang.mdesign.model.service.dto.FixOwnerInstanceDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import com.huawang.business.dto.AddModelDTO;
import com.huawang.business.dto.ProjectIdDTO;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author zww
 * @description 模型owner修复
 * @date 2023/1/31 10:32
 */
@Data
public class ModelFixDTO extends ProjectIdDTO {

    @NotBlank(message = ParamErrorConstants.NO_PROJECT_ID)
    private String projectId;

    @Schema(title = "需修复owner的模型列表")
    private List<FixOwnerInstanceDTO> fixOwnerList;

    /**
     * 补充缺失的模型
     *
     * @author xz
     * @date 2023/10/09 16:00
     * @param null
     * @return
     */
    private List<AddModelDTO> addModelDTOS;
}
